//
//  CCVSHyperLink.m
//  ClinicalCollections
//
//  Created by Pasirstein, David B on 4/15/13.
//  Copyright (c) 2013 GOPI. All rights reserved.
//


//Object to use when populating the data model for controller / cell
#import "CCVSHyperLink.h"

@implementation CCVSHyperLink

@synthesize customViewType = _customViewType;
@synthesize isExpanded = _isExpanded;
@synthesize text = _text;
@synthesize destinationURL = _destinationURL;


-(id)initWithString:(NSString *)aString andDestination:(NSURL*)destination
{
    self = [super init];
    self.text = aString;
    self.destinationURL = destination;
    return self;
}

-(NSString*)customViewType
{
    if (!_customViewType) _customViewType = @"CCVSExtendedLabel";
    return _customViewType;
}


@end
